#include <stdio.h>

int main(void){
    int arr1[10];//没有初始化，数组值是随机值
    for(int i = 0; i < 10; i++) printf("%d ", arr1[i]);
    printf("\n");

    int arr2[10] = {0};//给第一个数据赋初始值0，其它的数据会保持默认初始值0
    for(int i = 0; i < 10; i++) printf("%d ", arr2[i]);
    printf("\n");

    printf("arr1 addr = %p\n", arr1);
    printf("(arr1 + 1) addr = %p\n", arr1 + 1);
    printf("(arr1 + 1) size = %ld\n", sizeof (arr1 + 1));
    printf("arr1[0] = %d\n", *arr1);// <==>  *(arr1 + 0)    
    printf("arr1[-1] = %d\n", *(arr1 - 1));
    printf("1[arr1] = %d\n", 1[arr1]);
    printf("arr1 size = %ld\n", sizeof arr1);
    printf("(int *) size =  %ld\n", sizeof (int *));
    return 0;
}
